package com.ourpackage.tunestone.entities;

import java.awt.Image;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class Release {
	private int id;
	private Artist artist;
	private String title;
	private Date date;
	private Map<SiteSource, Info> scores = new HashMap<SiteSource, Info>();
	private Image image;
	private String author;
	
	
	public Release() {}
	
	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public Artist getArtist() {
		return artist;
	}

	public void setArtist(Artist artist) {
		this.artist = artist;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public Date getDate() {
		return date;
	}

	public void setDate(Date date) {
		this.date = date;
	}

	public Map<SiteSource, Info> getScores() {
		return scores;
	}

	public void addScore(SiteSource s, Info i) {
		scores.put(s, i);
	}

	public Image getImage() {
		return image;
	}

	public void setImage(Image image) {
		this.image = image;
	}
	
	public String getAuthor() {
		return author;
	}

	public void setAuthor(String author) {
		this.author = author;
	}
}
